﻿/*
	Author : Zeus2
*/

using System;
using System.Collections.Generic;
using System.Text;

namespace HZ.DrugTrade.Model
{
    /// <summary>
    /// 配送关系实体类
    /// </summary>
    [Serializable()]
    [HZ.Table(TableName = "TB_DISTRIBUTIONRELATION")] 
    public class DistributionRelation
    {
        /// <summary>
        /// 采购目录编号
        /// </summary>
        [HZ.Column(PrimaryKey = true)]
        public string ProcureCatalogID { get; set; }
        /// <summary>
        /// 企业编号
        /// </summary>
        [HZ.Column(PrimaryKey = true)]
        public string CompanyID_PS { get; set; }
        /// <summary>
        /// 医疗机构编号
        /// </summary>
        [HZ.Column(PrimaryKey = true)]
        public string HospitalID { get; set; }
        /// <summary>
        /// 采购价格
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 流程编号
        /// </summary>
        public string FlowID { get; set; }
        /// <summary>
        /// 配送关系是否启用（0否;1是）
        /// </summary>
        public bool? IsUsing { get; set; }
        /// <summary>
        /// 是否能配送(1能配送,0 不能配送)
        /// </summary>
        public bool? CanDistribute { get; set; }
        /// <summary>
        /// 采购总量
        /// </summary>
        public int? Stock { get; set; }

    
    }
}